package com.rbac.web.exception;

/**
 * @author gengaoliu
 */
public final class ApplicationException extends RuntimeException {
  public ApplicationException(String message) {
    super(message);
  }

  public ApplicationException(String message, Throwable cause) {
    super(message, cause);
  }

  public static ApplicationException createException(String message) {
    return new ApplicationException(message);
  }

  public static ApplicationException createException(String message, Throwable throwable) {
    return new ApplicationException(message, throwable);
  }
}
